package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.City;
import com.internship.model.EnterpriseInfo;
import com.internship.model.Province;
import com.internship.page.Pagination;

public interface EnterpriseInfoDao {
	public EnterpriseInfo getEnterpriseinfo(int Id);
	public List<EnterpriseInfo>  getEnterpriseinfoList(@Param("TheProvince") int TheProvince,@Param("TheCity") int TheCity ,@Param("Name") String Name ,Pagination page);
	public List<EnterpriseInfo>  getEnterpriseList();
	public List<EnterpriseInfo>  getEnterpriseinfoEnterList(@Param("TheProvince") int TheProvince,@Param("TheCity") int TheCity);
	public int addEnterpriseinfo(EnterpriseInfo enterpriseinfo);
	public int updateEnterpriseinfo(EnterpriseInfo enterpriseinfo);
	public int delEnterpriseinfo(@Param("Id") int Id);
	public int delAll(String[] ids);
	public List<Province>  getProvince();
	public List<City>  getCity();
	public List<City>  getCity(@Param("ProvinceId") int ProvinceId);
	
}
